package com.liukai.todo_android.entity.vo;


import java.time.LocalDateTime;

/**
 * @author ：liukai
 * @date ：Created in 2021/8/16 3:49 下午
 * @description：用户相关信息
 * @modified By：
 * @version: $
 */
public class InsertScheduleVo {
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 标题
     */
    private String title;
    /**
     * 类型id
     */
    private Long scheduleTypeId;
    /**
     * 描述信息
     */
    private String description;
    /**
     * 附件地址
     */
    private String attachment;
    /**
     * todo开始时间
     */
    private LocalDateTime gmtStarted;
    /**
     * 计划用时
     */
    private Integer consumePlanning;
    /**
     * 0默认,1正计时,2倒计时
     */
    private Integer timingType;

    public Long getHolderId() {
        return userId;
    }

    public InsertScheduleVo setHolderId(Long userId) {
        this.userId = userId;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public InsertScheduleVo setTitle(String title) {
        this.title = title;
        return this;
    }

    public Long getScheduleTypeId() {
        return scheduleTypeId;
    }

    public InsertScheduleVo setScheduleTypeId(Long scheduleTypeId) {
        this.scheduleTypeId = scheduleTypeId;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public InsertScheduleVo setDescription(String description) {
        this.description = description;
        return this;
    }

    public String getAttachment() {
        return attachment;
    }

    public InsertScheduleVo setAttachment(String attachment) {
        this.attachment = attachment;
        return this;
    }

    public LocalDateTime getGmtStarted() {
        return gmtStarted;
    }

    public InsertScheduleVo setGmtStarted(LocalDateTime gmtStarted) {
        this.gmtStarted = gmtStarted;
        return this;
    }

    public Integer getConsumePlanning() {
        return consumePlanning;
    }

    public InsertScheduleVo setConsumePlanning(Integer consumePlanning) {
        this.consumePlanning = consumePlanning;
        return this;
    }

    public Integer getTimingType() {
        return timingType;
    }

    public InsertScheduleVo setTimingType(Integer timingType) {
        this.timingType = timingType;
        return this;
    }

    @Override
    public String toString() {
        return "InsertScheduleVo{" +
                "userId=" + userId +
                ", title='" + title + '\'' +
                ", scheduleTypeId=" + scheduleTypeId +
                ", description='" + description + '\'' +
                ", attachment='" + attachment + '\'' +
                ", gmtStarted=" + gmtStarted +
                ", consumePlanning=" + consumePlanning +
                ", timingType=" + timingType +
                '}';
    }
}
